package com.wanyang.mapper;

import com.wanyang.dos.AreaCategoryDO;
import com.wanyang.dos.AreaCategoryDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AreaCategoryDOMapper {
    long countByExample(AreaCategoryDOExample example);

    int deleteByExample(AreaCategoryDOExample example);

    int deleteByPrimaryKey(@Param("areaId") Integer areaId, @Param("categoryId") Integer categoryId);

    int insert(AreaCategoryDO record);

    int insertSelective(AreaCategoryDO record);

    AreaCategoryDO selectOneByExample(AreaCategoryDOExample example);

    List<AreaCategoryDO> selectByExample(AreaCategoryDOExample example);

    AreaCategoryDO selectByPrimaryKey(@Param("areaId") Integer areaId, @Param("categoryId") Integer categoryId);

    int updateByExampleSelective(@Param("record") AreaCategoryDO record, @Param("example") AreaCategoryDOExample example);

    int updateByExample(@Param("record") AreaCategoryDO record, @Param("example") AreaCategoryDOExample example);

    int updateByPrimaryKeySelective(AreaCategoryDO record);

    int updateByPrimaryKey(AreaCategoryDO record);
}